export let searchForm = {
  name: null
}

export class ConfigEntity {
  id
  configKey
  configValue
  configType
  configDesc
  cacheExpireSecond
  isValid
}

export let formRules = {
  id: [{required: true, message: '请填写表id', trigger: 'blur'}],
  configKey: [{required: true, message: '请填写配置键名Key', trigger: 'blur'}],
  configValue: [{required: true, message: '请填写配置值Value', trigger: 'blur'}],
  configType: [{required: true, message: '请填写配置分组 ', trigger: 'blur'}],
  configDesc: [{required: true, message: '请填写描述', trigger: 'blur'}],
  cacheExpireSecond: [{required: true, message: '请填写', trigger: 'blur'}],
  isValid: [{required: true, message: '请填写有效状态 -1 已删除 0 前台不展示 1 前后台都展示', trigger: 'blur'}],
}
